<?php
	defined( "AZ_EXE_" ) or die ( "ERROR : CORE VARIABLE IS NOT DEFINED." );
	class TextArea extends Element {
		
		public function __construct( $attributes = array() ){
			parent::__construct( "textarea" , $attributes );
		}
		public function getTextarea($attributes=array()){
			return new TextArea($attributes);
		}
		public function getElement(){
			$element = "<".parent::getTag()." ";
			foreach( $this->getAttrs() AS $key => $value ){
				$element .= " $key=\"$value\" " ;
			}
			$element .=" >".parent::getValue()."</".parent::getTag().">";
			return $element ;
		}
	}